﻿using System;
using System.Linq;
using System.Collections.Generic;

namespace HashFoo.NhibTests.DomainFixtures.Models
{
    public class User
    {
        public User()
        {
            // ReSharper disable DoNotCallOverridableMethodsInConstructor
            UserRoles = new List<UserRole>();
            // ReSharper restore DoNotCallOverridableMethodsInConstructor
        }

        public virtual Guid Id { get; set; }
        public virtual string UserName { get; set; }
        public virtual IList<UserRole> UserRoles { get; set; }
    }
}